package org.dromara.system.domain.bo.cparams;

import lombok.Data;
import org.dromara.system.domain.bo.aparams.AOrderBo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
public class StripeAuthBo {

    private Long id;
    private String currency;
    private String order_money;
    private String customer_name;
    private String customer_email;
    private String from_domain;
    private String ip;
    private String domain;
    private String request_domain;
    private String order_aid;
    private Address billing;
    private Address shipping;
    private List<OrderProduct> order_product;
    private Map<String, Object> payment;
    private AOrderBo.Device device;

    @Data
    public static class Address {
        private String address_1;
        private String address_2;
        private String country;
        private String state;
        private String city;
        private String zip;
        private String phone;
        private String email;
        private String last_name;
        private String first_name;
    }

    @Data
    public static class Payment {
        private Integer method;
        private Integer type;
        private String title;
        private List<String> method_types;
    }

}
